/*
 * StudentTest.cpp
 *
 *  Created on: Mar 6, 2014
 *  Author: NakanPhung
 */
#include "Student.h"

int main(int argc, char **argv) {

	Student s1(12, "Can", "09/02/1992", "Vietnam", 2009, "ICT Gen3", "ICT");

	// to print information s1.
	s1.Print();

	cout << "\nStudent 2\n" << endl;
	Student s2;
	s2.Print();

	// edit some information s1.
	cout << "\nEdit information Student 1: enterYear, className, major\n"
			<< endl;
	s1.setEnterYear(2010);
	s1.setClassName("SA Gen3");
	s1.setMajor("SA");
	s1.Print();

	// testing GET information
	int year = s1.getEnterYear();
	string classname = s1.getClassName();
	string majortest = s1.getMajor();

	cout << "GetEnterYear: " << year << endl;
	cout << "ClassName: " << classname << endl;
	cout << "MajorTest: " << majortest << endl;

}

